home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
7_4.lha
/
7_4
/
main.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
449b
|
20 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
include <shape.h>
xtern void connectshapes(const shape *a, const shape *b);
ain()
screen_init();
shape* p1 = new rectangle(point(12,10),point(20,20));
shape* p2 = new line(point(2,2),point(8,4));
shape_refresh();
connectshapes(p1, p2);
screen_refresh();
screen_end();
return 0;